package com.challenger.student.services;

import java.util.List;
import java.util.Map;

import com.challenger.student.entity.Apply;
import com.challenger.student.entity.LoanData;
import com.challenger.student.entity.Points;
import com.challenger.student.entity.Student;
import com.challenger.student.entity.StudentUsr;
/**
 * 学生业务接口
 * @author 古振猛 404879269@qq.com
 *
 */
public interface StudentService {

	List<Student> findStudentsByCoacherid(int coacherid);

	List<StudentUsr> login(Map<String, Object> paraMap);

	List<StudentUsr> findStudentsByUsername(String username);

	List<StudentUsr> findStudentsByIdnumber(String idnumber);

	int addStudentUsr(StudentUsr studentUsr);

	int updateStudentPersionalInfo(Student student);

	int updateStudentEduInfo(Student student);

	int updateStudentFamilyInfo(Student student);

	Student findStudentByIdnumber(String idnumber);

	List<Apply> findAppliesByStuId(int sdtid);

	List<LoanData> findLoanDatasByStuId(int sdtid);

	int insertLoanData(LoanData loanData);

	int updatePassword(StudentUsr studentUsr);

	Student findStudentById(int sdtid);

	int insertApply(Apply apply);

	List<Points> findPoints();

}
